package com.ruoyi.qywx.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 企业微信对象 sys_qywx_chatdata
 *
 * @author yaolei
 * @date 2024-07-10
 */
public class SysQywxChatdata extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** seq */
    private Long seq;

    /** msgid */
    @Excel(name = "msgid")
    private String msgid;

    /** publickey_ver */
    @Excel(name = "publickey_ver")
    private Long publickeyVer;

    /** encrypt_random_key */
    @Excel(name = "encrypt_random_key")
    private String encryptRandomKey;

    /** encrypt_chat_msg */
    @Excel(name = "encrypt_chat_msg")
    private String encryptChatMsg;

    /** 解密的聊天内容 */
    @Excel(name = "解密的聊天内容")
    private String decryptChatMsg;

    /** 0未处理 1已处理 */
    @Excel(name = "0未处理 1已处理")
    private Long isHandled;

    /** 已解密内容 */
    @Excel(name = "已解密内容")
    private String decryptContent;

    /** 所关联ai任务 */
    @Excel(name = "所关联ai任务")
    private Long aiTaskId;

    /** 消息时间 */
    @Excel(name = "消息时间")
    private Long msgtime;

    public void setSeq(Long seq)
    {
        this.seq = seq;
    }

    public Long getSeq()
    {
        return seq;
    }
    public void setMsgid(String msgid)
    {
        this.msgid = msgid;
    }

    public String getMsgid()
    {
        return msgid;
    }
    public void setPublickeyVer(Long publickeyVer)
    {
        this.publickeyVer = publickeyVer;
    }

    public Long getPublickeyVer()
    {
        return publickeyVer;
    }
    public void setEncryptRandomKey(String encryptRandomKey)
    {
        this.encryptRandomKey = encryptRandomKey;
    }

    public String getEncryptRandomKey()
    {
        return encryptRandomKey;
    }
    public void setEncryptChatMsg(String encryptChatMsg)
    {
        this.encryptChatMsg = encryptChatMsg;
    }

    public String getEncryptChatMsg()
    {
        return encryptChatMsg;
    }
    public void setDecryptChatMsg(String decryptChatMsg)
    {
        this.decryptChatMsg = decryptChatMsg;
    }

    public String getDecryptChatMsg()
    {
        return decryptChatMsg;
    }
    public void setIsHandled(Long isHandled)
    {
        this.isHandled = isHandled;
    }

    public Long getIsHandled()
    {
        return isHandled;
    }
    public void setDecryptContent(String decryptContent)
    {
        this.decryptContent = decryptContent;
    }

    public String getDecryptContent()
    {
        return decryptContent;
    }
    public void setAiTaskId(Long aiTaskId)
    {
        this.aiTaskId = aiTaskId;
    }

    public Long getAiTaskId()
    {
        return aiTaskId;
    }
    public void setMsgtime(Long msgtime)
    {
        this.msgtime = msgtime;
    }

    public Long getMsgtime()
    {
        return msgtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("seq", getSeq())
                .append("msgid", getMsgid())
                .append("publickeyVer", getPublickeyVer())
                .append("encryptRandomKey", getEncryptRandomKey())
                .append("encryptChatMsg", getEncryptChatMsg())
                .append("decryptChatMsg", getDecryptChatMsg())
                .append("isHandled", getIsHandled())
                .append("decryptContent", getDecryptContent())
                .append("aiTaskId", getAiTaskId())
                .append("msgtime", getMsgtime())
                .toString();
    }
}
